package com.example.common.exception.errcode;

/**
 * 文件错误编码
 */
public enum ErrCodeFile implements ErrCode{
    FILE_NOT_FOUND(10001, "文件不存在"),

    ;

    private int code;
    private String msg;
    ;

    ErrCodeFile(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
